#include "CourseApplication.h"
#include "CourseObject.h"

int
main (int argc, char** argv)
{
        int                state;
        CourseApplication* app = NULL;

        /*创建对象*/
        app = course_application_new ("org.korack.kcourse",
                                      G_APPLICATION_DEFAULT_FLAGS);
        course_application_set_args (app, argc, argv);
        /*运行实例*/
        state = g_application_run (G_APPLICATION (app), 0, NULL);
        /*销毁对象*/
        g_object_unref (app);
        return state;
}
